package com.liu.communitysystemend.module.ParkingSpace.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.liu.communitysystemend.module.ParkingSpace.domain.ParkingSpace;
import com.liu.communitysystemend.module.ParkingSpace.domain.QPackingSpaceDto;
import com.liu.communitysystemend.module.user.domain.User;
import com.liu.communitysystemend.utils.Result;

import java.util.List;

/**
*
*/
public interface ParkingSpaceService  {
    ParkingSpace getVisitorById(String id);

    ParkingSpace update(ParkingSpace parkingSpace);

    ParkingSpace add(ParkingSpace parkingSpace);

    Page<ParkingSpace> getPage(ParkingSpace parkingSpace);

    Integer deleteById(String id);

    Integer test();

   List<ParkingSpace> getList(ParkingSpace parkingSpace);

    User CheckInfo(String id);

    Result checkIn(QPackingSpaceDto qPackingSpaceDto);

    Result checkOut(QPackingSpaceDto qPackingSpaceDto);
}
